package com.jsftoolkit.utils.xmlpull;

/**
 * Signals the start tag of an XML element.
 * 
 * @author noah
 * 
 */
public class StartElement implements PullEvent {
	public static final int TYPE = 0;

	private final String name;

	public StartElement(final String name) {
		super();
		this.name = name;
	}

	/**
	 * 
	 * @return the name of the tag
	 */
	public String getName() {
		return name;
	}

	public short getType() {
		return TYPE;
	}

}
